package com.example.ebeanbase.filter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class MobileTokenAuthentication extends AbstractMobileAuthenticationFilter {

	public MobileTokenAuthentication() {
		super();
	}

	@Override
	public boolean isAccess(String token) {

		return false;
	}

	@Override
	public boolean onAccessSuccess(HttpServletRequest request, HttpServletResponse response) {

		return true;
	}

	@Override
	public boolean onAccessFail(HttpServletRequest request, HttpServletResponse response) {

		return false;
	}

	@Override
	public boolean onAccessFailAsTokeniSNull(HttpServletRequest request, HttpServletResponse response) {
		// 使用输出流

		return false;
	}
}
